#ifndef DOOREXITTRIGGER_H
#define DOOREXITTRIGGER_H

#include "LevelExitTrigger.h"

/*
*/
class DoorExitTrigger : public LevelExitTrigger
{
    public:
        DoorExitTrigger(const Vector2df p, const Vector2df s) : LevelExitTrigger(p,s) {};
        DoorExitTrigger(const Vector2df p, const Vector2df s, CRstring levelFileName) : LevelExitTrigger(p,s,levelFileName) {};
        virtual void hit(const SimpleDirection dir, BaseUnit* player, CRstring parameter="");
        virtual void setState(){};

    protected:
    	string levelFileName;
        void customUpdate();
    private:
};

#endif // DOOREXITTRIGGER_H
